package com.lier.gulimall.search.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author liyd
 * @description
 * @date 2025/7/3 18:04
 */
@Data
public class SearchParam {

    private String keyword;

    private Long catalog3Id;

    /**
     * sort = saleCount_asc / saleCount_desc
     * sort = skuPrice_asc / desc
     * sort = hotScore_asc / desc
     */
    private String sort;

    /**
     * 是否有货0/1
     */
    private Integer hasStock;

    /**
     * 价格区间, 数据示例: 1_500(1到500) _500(500以内) 500_(500以上)
     */
    private String skuPrice;

    private List<Long> brandId;

    /**
     * 属性筛选 &attrs=1_安卓:微软(指的是一号属性值为安卓或者微软)
     */
    private List<String> attrs;

    /**
     * 页码
     */
    private Integer pageNum = 1;

    /**
     * 查询字符串
     */
    private String queryString;
}
